package cn.iocoder.yudao.module.contract.controller.admin.frameworkAgreement.vo;

import lombok.*;
import java.util.*;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.iocoder.yudao.framework.common.pojo.PageParam;
import org.apache.commons.lang3.StringUtils;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;

import static cn.iocoder.yudao.framework.common.util.date.DateUtils.FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND;

@Schema(description = "管理后台 - 框架协议分页 Request VO")
@Data
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class FrameworkAgreementPageReqVO extends PageParam {

    @Schema(description = "合同模板名称", example = "赵六")
    private String contractTemplateName;

    @Schema(description = "合同编号")
    private String contractNo;

    @Schema(description = "客户名称", example = "赵六")
    private String clientName;

    @Schema(description = "客户编码", example = "赵六")
    private String clientCode;

    @Schema(description = "是否生效", example = "赵六")
    private String isValid;

    @Schema(description = "公司名称-多个,隔开")
    private String companyNames;

    @Schema(description = "创建时间")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] createTime;


    @Schema(description = "有效起期")
    @DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
    private LocalDateTime[] agreementStartDate;

    @Schema(description = "销售部门-多个,隔开")
    private String vkinfo;
}